package com.gitee.feizns.quickstart.web.ex;

import org.springframework.http.HttpStatus;

/**
 * 找不到资源错误
 * <p>
 *     一般是找不到资源错误。 404
 * </p>
 * @author feizns
 * @since 2019/7/20
 */
public class NotFoundException extends HttpException {

    public NotFoundException(String message) {
        super(HttpStatus.NOT_FOUND, message);
    }

    public NotFoundException(String message, Object... args) {
        this(String.format(message, args));
    }

}
